package com.xbongbong.workflow.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 *
 * @author 魏荣杰
 *
 */
@Setter
@Getter
@ToString
public class WorkflowCreateTaskNodePojo {

    /**
     * 是否需要人工介入进行审批
     */
    private Boolean isNeedApproval;

    /**
     * 是否是无需审批人， true无需审批，false需审批
     */
    private Boolean isWhitoutApproval;

    /**
     * 工作流流程id
     */
    private Long taskId;

    /**
     * 工作流节点id
     */
    private Long workflowNodeId;

    public WorkflowCreateTaskNodePojo(Boolean isNeedApproval, Boolean isWhitoutApproval) {
        this.isNeedApproval = isNeedApproval;
        this.isWhitoutApproval = isWhitoutApproval;
    }

    public WorkflowCreateTaskNodePojo() {
    }
}
